<?php
    include_once('../src/classes/class.mssql.php');
    $db = new MSSQL();
    $stmt = $db->query("SELECT company_name FROM [dbo].[mainteiner] AS m INNER JOIN [dbo].[users] AS u ON u.comtec_id_mainteiner = m.comtec_id_mainteiner WHERE u.comtec_id_user =".$_GET['id']);
    sqlsrv_fetch($stmt);
    echo "<h3>".sqlsrv_get_field($stmt,0)."</h3>";
?>
